package ljl.alg.jianzhioffer.round3.easy;

public class _17_printNumbers {

    public int[] printNumbers(int n) {
        int max = (int) (Math.pow(10, n)) - 1;
        int[] res = new int[max];
        for (int i = 0; i < max; i++) {
            res[i] = i + 1;
        }
        return res;
    }

}
